package com.csxy.lsh.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name = "FlowerCategory对象", description = "花卉分類")
public class FlowerCategory implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "分類ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @Schema(description = "分類名稱")
    private String name;

    @Schema(description = "分類描述")
    private String description;

    @Schema(description = "分類圖片")
    private String image;

    @Schema(description = "創建時間")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @Schema(description = "更新時間")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
} 